home *** CD-ROM | disk | FTP | other *** search
- # note that $modelPath is automagically set to be the complete path
- # name of whereever this .mdl file wrapper is located
- #
- source $modelPath/initialDefines.eve
- source $modelPath/initialProcs.eve
-
- # note that since "source" is a built-in tcl command, we needed to
- # give it the full path name of the previous file so it could load it.
- # In the next command, though, since "loadControlPanel" is a new eve
- # command, it is smart enough to append the value of $modelPath to any
- # file that doesn't start with "/"
- #
- loadControlPanel controls.nib
-
- startShape World
-
- drawBlobbyModel
-
- startShape sphereText
- EveProc {drawTextSphere $sphere(radius) $text(color) $sphere(color) \
- $sphere(xRotate) $sphere(yRotate) $sphere(zRotate) \
- $sphere(xTranslate) $sphere(yTranslate) $sphere(zTranslate) \
- $text(string) $text(fontName) $text(size)}
-
- EveProc {drawTextSphere $sphere(radius) $text(color) $sphere(color) \
- $sphere(xRotate) $sphere(yRotate) $sphere(zRotate) \
- [expr {-.35 + $sphere(xTranslate)}] $sphere(yTranslate) $sphere(zTranslate) \
- sad $text(fontName) $text(size)}
-
- EveProc {drawTextSphere $sphere(radius) $text(color) $sphere(color) \
- $sphere(xRotate) $sphere(yRotate) $sphere(zRotate) \
- [expr {.35 + $sphere(xTranslate)}] $sphere(yTranslate) $sphere(zTranslate) \
- {.1 .1 .1} $text(fontName) [expr {.9 * $text(size)}]}
-
- EveProc {drawTextSphere [expr {.6 * $sphere(radius)}] $text(color) $sphere(color) \
- [expr {25 + $sphere(xRotate)}] $sphere(yRotate) $sphere(zRotate) \
- [expr {.25 + $sphere(xTranslate)}] [expr {.4 + $sphere(yTranslate)}] [expr {.8 * $sphere(zTranslate)}] \
- {1.0} $text(fontName) $text(size)}
-
- EveProc {drawTextSphere [expr {.6 * $sphere(radius)}] $text(color) $sphere(color) \
- [expr {25 + $sphere(xRotate)}] $sphere(yRotate) $sphere(zRotate) \
- [expr {-.25 + $sphere(xTranslate)}] [expr {.3 + $sphere(yTranslate)}] [expr {.9 * $sphere(zTranslate)}] \
- {0.0} $text(fontName) $text(size)}
-
- EveProc {drawTextSphereLever [expr {.7 * $sphere(radius)}] $text(color) $sphere(color) \
- [expr {-25 + $sphere(xRotate)}] $sphere(yRotate) $sphere(zRotate) \
- [expr {-.4 + $sphere(xTranslate)}] [expr {-.4 + $sphere(yTranslate)}] [expr {1.1 * $sphere(zTranslate)}] \
- {yow} $text(fontName) $text(size) .3}
-
- endShape
- endShape
-
- camera "set cam(lowRezTesselation) 4"; # note: doing a "camera {lowRezTesselation 4}" would do the same...
- camera "set cam(tesselation) 8"; # note: doing a "camera {tesselation 8}" would do the same...
-